@import './common.less';

.pay {
  .full-screen();

  background: @bg-color;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  .content {
    flex: 1;
    .scrollable();
  }
  .order-info-view {
    background: white;
    height: 360/@ppr;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    .title {
      font-size: 36/@ppr;
      font-weight: bold;
      color: rgb(46, 46, 54);
      margin-bottom: 10/@ppr;
    }
    .money-row{
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: flex-end;
      color: rgb(46, 46, 54);
      .unit {
        font-size: 50/@ppr;
        position: relative;
        top: -18/@ppr;
      }
      .money {
        font-size: 100/@ppr;
        font-family: 'DINMittelschrift-Alternate',
      }
    }
    .dis {
      margin: 0 0 12/@ppr 0;
      color: rgb(255, 102, 85);
      font-size: 28/@ppr;
      padding: 0;
    }
  }
  .pay-view {
    background: white;
    margin: 20/@ppr 0;
    padding-left: 30/@ppr;
    .pay-cell {
      padding-right: 30/@ppr;
      height: 108/@ppr;
      .hairline(bottom, rgb(232, 234, 238));
      &:last-child {
        .hairline-remove(bottom);
      }
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
      align-items: center;
      .icon {
        width: 60/@ppr;
        height: auto;
        margin-right: 28/@ppr;
      }
      .title {
        color: rgb(46, 46, 54);
        font-size: 28/@ppr;
        flex: 1;
      }
      .text {
        color: rgb(140, 140, 148);
        font-size: 26/@ppr;
        margin-right: 20/@ppr;
      }
      .icon-checkbox {
        font-size: 50/@ppr;
        color: rgb(255, 102, 85);
      }
    }
  }
  .coupon-view {
    background: white;
    padding: 40/@ppr 30/@ppr 1/@ppr 30/@ppr;
    .title-row {
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
      align-items: center;
      padding-bottom: 40/@ppr;
      .title {
        color: rgb(46, 46, 54);
        font-size: 28/@ppr;
        flex: 1;
      }

      .text {
        font-size: 26/@ppr;
        padding: 0;
        margin: 0 20/@ppr;
        color: rgb(140, 140, 148);

        .num {
          color: rgb(255, 102, 85);
        }
      }

      .icon-arrow {
        font-size: 24/@ppr;
        color: rgb(196, 196, 204);
      }
    }
  }
  .pay-btn {
    border-radius: 0;
  }
}
